package com.project.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.project.demo.entity.Admin;
import com.project.demo.entity.Affairs;
import org.apache.ibatis.annotations.Insert;

public interface AdminMapper extends BaseMapper<Admin> {

    @Insert("insert into admin values(null,#{name},#{pwd})")
    Integer insertAdmin(Admin admin);
}
